//
//  ViewController.m
//  UI11_homework(LagouXib)
//
//  Created by Hanlingyu on 16/7/28.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import "ViewController.h"
#import "RegistViewController.h"
#import "ForgetPassWordViewController.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIView *registButtonBackgroundView;
@property (weak, nonatomic) IBOutlet UIButton *registButton;
@property (weak, nonatomic) IBOutlet UIButton *forgetPassWordButton;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    _registButtonBackgroundView.layer.borderWidth = 2;
    _registButtonBackgroundView.layer.borderColor = [UIColor colorWithRed:0.096 green:0.868 blue:0.729 alpha:1.000].CGColor;
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)pushToForgetPassWordButton:(UIButton *)sender {
    
    ForgetPassWordViewController *forgetVC = [[ForgetPassWordViewController alloc] initWithNibName:@"ForgetPassWordViewController" bundle:[NSBundle mainBundle]];
    [self.navigationController pushViewController:forgetVC animated:YES];
    
}

- (IBAction)registButton:(UIButton *)sender {
    
    NSLog(@"我曹");
    
    RegistViewController *registVC = [[RegistViewController alloc] initWithNibName:@"RegistViewController" bundle:[NSBundle mainBundle]];
    [self presentViewController:registVC animated:YES completion:^{
        
        
    }];
    
    
    
}
@end
